package com.yanjue.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yanjue.bo.UserBookshelfBO;
import com.yanjue.common.entity.UserBookshelf;
import com.yanjue.common.util.Result;

/**
* @author yanju
* @description 针对表【user_bookshelf(用户书架)】的数据库操作Service
* @createDate 2025-01-16 12:33:44
*/
public interface UserBookshelfService extends IService<UserBookshelf> {

    /**
     * 同步书架
     * @param userId
     * @param bookshelfBO
     * @return
     */
    Result syncUserBookshelf(Integer userId, UserBookshelfBO bookshelfBO);

    /**
     * 获取用户书架
     * @param userId
     * @return
     */
    Result getUserBookshelf(Integer userId);
}
